aio: split out iocb copy from io_submit_one()
authorJens Axboe <axboe@kernel.dk>
Sat, 24 Nov 2018 21:46:14 +0000 (14:46 -0700)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 18 Jul 2019 22:23:17 +0000 (23:23 +0100)
commit9e8cc260a898cb470d8512e618ed3148203015a4
treed12b71f8102ceb53484f815a71436ccf6d71e9a9
parentaaabd3cbc73438aa61ba6dea2b10108b14326428
aio: split out iocb copy from io_submit_one()

commit 88a6f18b950e2e4dce57d31daa151105f4f3dcff upstream.

In preparation of handing in iocbs in a different fashion as well. Also
make it clear that the iocb being passed in isn't modified, by marking
it const throughout.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name 0006-aio-split-out-iocb-copy-from-io_submit_one.patch
fs/aio.c